package org.canto.poss.domain.entity;

import org.canto.poss.instr.common.pojo.entity.BaseEntity;

/**
 * Description:
 *
 * @author jsryin
 * @date 2024/12/11 23:13
 */
public class Menu extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 父级id
     */
    private String parentId;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 菜单级数
     */
    private Integer level;

    /**
     * 描述
     */
    private String description;

    /**
     * 是否父节点 0：否，1：是
     */
    private String nodeParent;

    /**
     * 是否显示 0：否，1：是
     */
    private String isShow;

    /**
     * 图标
     */
    private String icon;

    /**
     * 排序
     */
    private Integer sort;

    public String getParentId() {
        return parentId;
    }

    public Menu setParentId(String parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getName() {
        return name;
    }

    public Menu setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getLevel() {
        return level;
    }

    public Menu setLevel(Integer level) {
        this.level = level;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public Menu setDescription(String description) {
        this.description = description;
        return this;
    }

    public String getNodeParent() {
        return nodeParent;
    }

    public Menu setNodeParent(String nodeParent) {
        this.nodeParent = nodeParent;
        return this;
    }

    public String getIsShow() {
        return isShow;
    }

    public Menu setIsShow(String isShow) {
        this.isShow = isShow;
        return this;
    }

    public String getIcon() {
        return icon;
    }

    public Menu setIcon(String icon) {
        this.icon = icon;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public Menu setSort(Integer sort) {
        this.sort = sort;
        return this;
    }
}
